//
//  MineRequest.m
//  PropertyMananger
//
//  Created by bh on 17/2/9.
//  Copyright © 2017年 BH. All rights reserved.
//

#import "MineRequest.h"

@implementation MineRequest
#pragma mark - 我的工单-报修
+(void)postMyOrderRepairSuccess:(SuccessBlock)successBlock Fail:(FailBlock)failBlock param:(NSDictionary *)param{

    NSString * urlStr = [NSString stringWithFormat:@"%@/Handler/MyInfo.ashx",Server_IP];
    [BHNetWorkRequest startPostWithUrl:urlStr Success:successBlock Fail:failBlock param:param];

}

#pragma mark - 我的工单-去维修
+(void)postGoToRepairSuccess:(SuccessBlock)successBlock Fail:(FailBlock)failBlock param:(NSDictionary *)param{

    NSString * urlStr = [NSString stringWithFormat:@"%@/Handler/MyInfo.ashx",Server_IP];
    [BHNetWorkRequest startPostWithUrl:urlStr Success:successBlock Fail:failBlock param:param];

}

#pragma mark - 我的工单-投诉列表
+(void)postComplainListSuccess:(SuccessBlock)successBlock Fail:(FailBlock)failBlock param:(NSDictionary *)param{

    NSString * urlStr = [NSString stringWithFormat:@"%@/Handler/MyInfo.ashx",Server_IP];
    [BHNetWorkRequest startPostWithUrl:urlStr Success:successBlock Fail:failBlock param:param];

}

#pragma mark - 我的工单-我的巡检
+(void)postMyDailyInspectionSuccess:(SuccessBlock)successBlock Fail:(FailBlock)failBlock param:(NSDictionary *)param{

    NSString * urlStr = [NSString stringWithFormat:@"%@/Handler/Routing_Inspect.ashx",Server_IP];
    [BHNetWorkRequest startPostWithUrl:urlStr Success:successBlock Fail:failBlock param:param];

}

#pragma mark - 我的工单-个人信息
+(void)postMyInfomationSuccess:(SuccessBlock)successBlock Fail:(FailBlock)failBlock param:(NSDictionary *)param{

    NSString * urlStr = [NSString stringWithFormat:@"%@/AppWorker/AppWorker.ashx",Server_IP];
    [BHNetWorkRequest startPostWithUrl:urlStr Success:successBlock Fail:failBlock param:param];

}

#pragma mark - 修改密码
+(void)postModifyMyPassWorkSuccess:(SuccessBlock)successBlock Fail:(FailBlock)failBlock param:(NSDictionary *)param{

    NSString * urlStr = [NSString stringWithFormat:@"%@/AppWorker/AppWorker.ashx",Server_IP];
    [BHNetWorkRequest startPostWithUrl:urlStr Success:successBlock Fail:failBlock param:param];

}

@end
